/**
 * Created by IntelliJ IDEA.
 * User: manish
 * Date: 3/27/12
 * Time: 5:05 PM
 * To change this template use File | Settings | File Templates.
 */

function tickerMediaClick(imagePath){
    $.prettyPhoto.open(imagePath,'','');
}

function hideMediaTicker(){
    document.getElementById('ticker_popup_imageId').style.display = "none";
    $('#ticker_popup_imageId').attr('src',"resources/images/loading.gif");
}
$("#rightbar").bind("mousewheel", function (ev, delta) {
    alert("here");
    var scrollTop = $(window).scrollTop();
    $(window).scrollTop(scrollTop - Math.round(delta * 20));
});